home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 551-575 / disk_575 / pplib / fd / powerpacker_lib.fd
Text File  |  1992-05-06  |  1KB  |  43 lines

  1. *
  2. *   powerpacker_lib.fd   © 1991 Nico François
  3. *
  4. *   Release 1.3  Library Version 35
  5. *
  6. ##base _PPBase
  7. ##bias 30
  8. ##public
  9. ppLoadData(filename,col,memtype,bufferptr,lenptr,funcptr)(A0,D0/D1,A1/A2/A3)
  10. ppDecrunchBuffer(endcrun,decrbuff,effptr,col)(A0/A1/A2,D0)
  11. ppCalcChecksum(string)(A0)
  12. ppCalcPasskey(string)(A0)
  13. ppDecrypt(buffer,len,key)(A0,D0/D1)
  14. ppGetPassword(screen,buffer,maxchars,checksum)(A0/A1,D0/D1)
  15. ##private
  16. OBSOLETEppGetString(screen,buffer,maxchars,title)(A0/A1,D0,A2)
  17. OBSOLETEppGetLong(screen,longptr,title)(A0/A1/A2)
  18. ##public
  19. *
  20. * The following three private functions are for use in the decrunch
  21. * header of crunched executables. Don't use them! They are
  22. * guaranteed to crash if not used properly!
  23. *
  24. ##private
  25. ppDecrHdr(firstseg,effptr,decrcol,crunlen)(A4/A2,D0/D1)
  26. ppCryptDecrHdr(firstseg,effptr,decrcol,crunlen,checksum)(A4/A2,D0/D1/D2)
  27. ppOverlayDecrHdr(firstseg,effptr,decrcol,crunlen)(A4/A2,D0/D1)
  28. ##public
  29. *
  30. * Functions to crunch
  31. *
  32. ppAllocCrunchInfo(eff,speedup,func,userdata)(D0/D1,A0/A1)
  33. ppFreeCrunchInfo(crunchinfo)(A0)
  34. ppCrunchBuffer(crunchinfo,buffer,len)(A0/A1,D0)
  35. ppWriteDataHeader(lock,eff,crypt,checksum)(D0/D1/D2/D3)
  36. *
  37. ppEnterPassword(screen,buffer)(A0/A1)
  38. ##private
  39. ppPasswordCallback()()
  40. ##public
  41. ppErrorMessage(error)(D0)
  42. ##end
  43.